package cn.edu.zut.curriculum.service;

import cn.edu.zut.curriculum.entity.Commodity;

import java.util.List;

public interface ICommodityService {
    List<Commodity> select(String name);
    Commodity insert(Commodity commodity);
    Commodity select(long id);
    Commodity select2(long id);
    int update(long id);
    int update2(long id);
    List<Commodity> select3(long id);

    List<Commodity> select5(long id);
    int delete(long id);

    int update3(String price,long id);
}
